vhxubo's blog
关于

VSCodeVim 配置

配置输入法切换

Windows

  "vim.autoSwitchInputMethod.enable": true,
  "vim.autoSwitchInputMethod.defaultIM": "1033",
  "vim.autoSwitchInputMethod.obtainIMCmd": "C:\\tools\\im-select.exe",
  "vim.autoSwitchInputMethod.switchIMCmd": "C:\\tools\\im-select.exe {im}",

保存退出插入模式

  "macros": {
"saveAndEscapeVim": ["workbench.action.files.save", "extension.vim_escape"]
},
  {
"key": "ctrl+s",
"command": "macros.saveAndEscapeVim",
"when": "editorTextFocus && vim.active && !inDebugRepl"
}